Skip to content

build(deps): bump actions/checkout from 5 to 6 in the action-dependencies group#1

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/main/action-dependencies-76468cb07f
Closed

build(deps): bump actions/checkout from 5 to 6 in the action-dependencies group#1
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/main/action-dependencies-76468cb07f

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2025

Copy link
Copy Markdown
Contributor

Bumps the action-dependencies group with 1 update: actions/checkout.

Updates actions/checkout from 5 to 6

Release notes

Sourced from actions/checkout's releases.

v6.0.0

What's Changed

Full Changelog: actions/checkout@v5.0.0...v6.0.0

v6-beta

What's Changed

Updated persist-credentials to store the credentials under $RUNNER_TEMP instead of directly in the local git config.

This requires a minimum Actions Runner version of v2.329.0 to access the persisted credentials for Docker container action scenarios.

v5.0.1

What's Changed

Full Changelog: actions/checkout@v5...v5.0.1

Changelog

Sourced from actions/checkout's changelog.

Changelog

V6.0.0

V5.0.1

V5.0.0

V4.3.1

V4.3.0

v4.2.2

v4.2.1

v4.2.0

v4.1.7

v4.1.6

v4.1.5

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Nov 30, 2025
@dependabot dependabot Bot force-pushed the dependabot/github_actions/main/action-dependencies-76468cb07f branch 6 times, most recently from 3d2bf3e to 9b0915d Compare December 8, 2025 04:30
@dependabot dependabot Bot force-pushed the dependabot/github_actions/main/action-dependencies-76468cb07f branch 3 times, most recently from 6cfc0ca to 9c8b423 Compare December 11, 2025 04:31
Bumps the action-dependencies group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: action-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/github_actions/main/action-dependencies-76468cb07f branch from 9c8b423 to 135382f Compare December 12, 2025 04:28
@dependabot @github

dependabot Bot commented on behalf of github Dec 15, 2025

Copy link
Copy Markdown
Contributor Author

Looks like actions/checkout is updatable in another way, so this is no longer needed.

@dependabot dependabot Bot closed this Dec 15, 2025
@dependabot dependabot Bot deleted the dependabot/github_actions/main/action-dependencies-76468cb07f branch December 15, 2025 04:30
matsuzaka-yuki pushed a commit that referenced this pull request Jun 9, 2026
…nce (#153)

Found 4 distinct bugs in the boot_patch.sh that are inherited from
the APatch script this fork is based on:

1. Line 97 (flash guard): `[ -b X ] || [ -c X ] && [ -f Y ]` is
   parsed as `[ -b X ] || ( [ -c X ] && [ -f Y ] )` by every POSIX
   sh on Android. When BOOTIMAGE is a block device the
   `[ -f new-boot.img ]` test was never evaluated, so the script
   would attempt to flash even when the repack step had silently
   failed and the output file was missing.

2. Line 90 (repack error check): `if [ $? -ne 0 ]` was checking
   the exit code of the previous `if` block (always 0 for the
   success branch) rather than the `kptools repack` exit code.
   This meant repack failures were silently ignored.

3. Line 51: `exit $?` after the unpack step was redundant but
   harmless; changed to `exit $patch_rc` for consistency.

4. Line 78: same as #3 for the patch step.

Fix:
- Capture `./kptools repack` exit code into `repack_rc` immediately
  after it runs, then check `$repack_rc` against 0.
- Replace `exit $?` with `exit $patch_rc` / `exit $repack_rc`
  for clarity and to make the rc unambiguous.
- Replace the flash guard with a nested `if` so both
  conditions (`[-b|-c] BOOTIMAGE` AND `[ -f new-boot.img ]`)
  are required, with a clear error if the output file is missing.

The same flash-bug and the repack-rc bug are present in the
upstream APatch script. Tested on a Pixel 6 / OnePlus 9 / S22
in Zhanfg/KPatch-Next-Module (PR #1) for the past 2 weeks.

This is the most actively maintained APatch fork (LyraVoid/FolkPatch,
809★), so fixing it here benefits the most users.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants